// @ts-nocheck
export const showErrMsg = (msg:string) => {
    uni.showToast({
        title: msg,
        icon: "error",
        duration: 2000
    })
}

export const showSuccessMsg = (msg:string) => {
    uni.showToast({
        title: msg,
        icon: "success",
        duration: 2000
    })
}

export const showNoneMsg = (msg:string) => {
    uni.showToast({
        title: msg,
        icon: "none",
        duration: 2000
    })
}
export const showLoadingMsg = (msg:string) => {
    uni.showToast({
        title: msg,
        icon: "loading"
    })
}
